#ifndef foelsche_finite_h_included
#define foelsche_finite_h_included


#include <float.h>


namespace foelsche
{
static bool finite(const double _d)
#ifdef _MSC_VER
{	return ::_finite(_d) && !_isnan(_d);
}
#else
{	return ::finite(_d) && !isnan(_d);
}
#endif
}
#endif //!foelsche_finite_h_included